<template>
  <el-container>
    <!-- 顶部 -->
    <el-header>
      <TopHeader />
    </el-header>
    <el-container>
      <!-- 左侧导航 -->
      <el-aside width="auto">
        <LeftNav />
      </el-aside>
      <!-- 右侧主页面 -->
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import LeftNav from "../components/rq/LeftNav.vue";
import TopHeader from "../components/rq/TopHeader.vue";

export default {
  components: {
    LeftNav,
    TopHeader,
  },
};
</script>

<style lang="scss">
.el-header {
  // background-color: #2864a8;
  padding-left: 0;
  
}

.el-aside {
  height: 100%;
  background-color: #2c5a8e;
  overflow: auto;
}

.el-main {
  background-color: #eef1f4;
}
.el-container,
.el-main {
  height: 100%;
  overflow: auto;
}

</style>